﻿<?xml version='1.0' encoding='utf-8'?>

<Application xmlns='http://schemas.microsoft.com/windows/2009/Ribbon'>
  <Application.Commands>

    <!-- mnu[100,200)-->
    <Command Name="mnuApp" Id="100" LabelTitle="文件" />


    <!-- tab[200,300) -->
    <Command Name="tabHome" Id="200" LabelTitle="主页" Keytip="H" />
    <Command Name="tabView" Id="210" LabelTitle="查看" Keytip="V" />
    <Command Name="tabTools" Id="220" LabelTitle="工具" Keytip="T" />

    <!-- grp[300,800) -->
    <Command Name="grpApplication" Id="300" LabelTitle="程序" />
    <Command Name="grpClipboard" Id="320" LabelTitle="剪贴板" />
    <Command Name="grpState" Id="330" LabelTitle="状态" />
    <Command Name="grpEdit" Id="340" LabelTitle="编辑" />
    <Command Name="grpStyle" Id="350" LabelTitle="样式" />
    <Command Name="grpTag" Id="360" LabelTitle="标签">
      <Command.SmallImages>
        <Image>
          res/ribbon/tag_16.bmp
        </Image>
      </Command.SmallImages>
    </Command>
    <Command Name="grpPriority" Id="370" LabelTitle="优先级" />

    <Command Name="grpZoom" Id="500" LabelTitle="缩放" />
    <Command Name="grpView" Id="510" LabelTitle="查看" />
    <Command Name="grpShowHide" Id="520" LabelTitle="显示或隐藏" />
    <Command Name="grpTree" Id="530" LabelTitle="树" />
    <Command Name="grpGrid" Id="540" LabelTitle="表格" />

    <Command Name="grpTools" Id="550" LabelTitle="工具" />
    <Command Name="grpTodoListTools" Id="560" LabelTitle="待办列表" />
    <Command Name="grpOptions" Id="570" LabelTitle="选项" />
    <Command Name="grpDebug" Id="590" LabelTitle="调试" />
    <Command Name="grpGtasks" Id="600" LabelTitle="Google 任务" />

    <!-- qat[800,900)-->
    <Command Name="qat" Id="800" />
    <Command Name="qatCustomize" Id="810" />
    
    <!--misc[900,1000)-->
    <Command Name="cmdRecentItems" Id="900" LabelTitle="最近待办列表" />
    <Command Name="cmdHelp" Id="910" LabelTitle="帮助" Keytip="Y" TooltipTitle="Todo.EXE 帮助(F1)"
             TooltipDescription="获得关于使用Todo.EXE的帮助." />
    <Command Name="cmdTagGallery" Id="920" Keytip="G" LabelTitle="标签" TooltipTitle="标签">
      <Command.SmallImages>
        <Image>
          res/ribbon/tag_16.bmp
        </Image>
      </Command.SmallImages>
    </Command>

    <Command Name="cmdContextMenu" Id="990" />

    <!-- btn[1000,6000)-->

    <Command Name="cmdExit" Id="1010" Keytip="T" LabelTitle="退出&#xA;(&amp;X)" LabelDescription="退出程序"
             TooltipDescription="Exit Todo.">
      <Command.LargeImages>
        <Image>
          res/ribbon/exit_32.bmp
        </Image>
      </Command.LargeImages>
      <Command.SmallImages>
        <Image>
          res/ribbon/exit_16.bmp
        </Image>
      </Command.SmallImages>
    </Command>

    <Command Name="cmdUndo" Id="1030" Keytip="Z" LabelTitle="撤销&#xA;(&amp;Z)" TooltipTitle="撤销(Ctrl+Z)"
             TooltipDescription="撤销上一次操作.">
      <Command.LargeImages>
        <Image>
          res/ribbon/undo_32.bmp
        </Image>
      </Command.LargeImages>
      <Command.SmallImages>
        <Image>
          res/ribbon/undo_16.bmp
        </Image>
      </Command.SmallImages>
    </Command>

    <Command Name="cmdRedo" Id="1040" Keytip="Y" LabelTitle="重做&#xA;(&amp;Y)" TooltipTitle="重做(Ctrl+Y)"
             TooltipDescription="重做上一次操作.">
      <Command.LargeImages>
        <Image>
          res/ribbon/redo_32.bmp
        </Image>
      </Command.LargeImages>
      <Command.SmallImages>
        <Image>
          res/ribbon/redo_16.bmp
        </Image>
      </Command.SmallImages>
    </Command>

    <Command Name="cmdCut" Id="1050" Keytip="X" LabelTitle="剪切&#xA;(&amp;X)" TooltipTitle="剪切(Ctrl+X)"
             TooltipDescription="剪切所选内容并放入剪贴板.">
      <Command.SmallImages>
        <Image>
          res/ribbon/cut_16.bmp
        </Image>
      </Command.SmallImages>
    </Command>

    <Command Name="cmdCopy" Id="1060" Keytip="C" LabelTitle="复制&#xA;(&amp;C)" TooltipTitle="复制(Ctrl+C)"
             TooltipDescription="复制所选内容并放入剪贴板.">
      <Command.SmallImages>
        <Image>
          res/ribbon/copy_16.bmp
        </Image>
      </Command.SmallImages>
    </Command>

    <Command Name="cmdPaste" Id="1070" Keytip="P" LabelTitle="粘贴&#xA;(&amp;V)" TooltipTitle="粘贴(Ctrl+V)"
             TooltipDescription="插入剪贴板内容.">
      <Command.LargeImages>
        <Image>
          res/ribbon/paste_32.bmp
        </Image>
      </Command.LargeImages>
      <Command.SmallImages>
        <Image>
          res/ribbon/paste_16.bmp
        </Image>
      </Command.SmallImages>
    </Command>

    <Command Name="cmdPasteAfter" Id="1071" Keytip="A" LabelTitle="粘贴在后" 
             TooltipDescription="粘贴在当前项后面">
      <Command.SmallImages>
        <Image>
          res/ribbon/paste_after_16.bmp
        </Image>
      </Command.SmallImages>
    </Command>

    <Command Name="cmdPasteChild" Id="1072" Keytip="C" LabelTitle="粘贴为子项" 
             TooltipDescription="粘贴为子项">
      <Command.SmallImages>
        <Image>
          res/ribbon/paste_child_16.bmp
        </Image>
      </Command.SmallImages>
    </Command>

    <Command Name="cmdPasteSplit" Id="1090" Keytip="V" />

    <!-- cmd state -->
    <Command Name="cmdActive" Id="1100" Keytip="A" LabelTitle="活动&#xA;(&amp;A)" TooltipTitle="活动(Ctrl+A)"
             TooltipDescription="切换活动状态">
      <Command.LargeImages>
        <Image>
          res/ribbon/active_32.bmp
        </Image>
      </Command.LargeImages>
      <Command.SmallImages>
        <Image>
          res/ribbon/active_16.bmp
        </Image>
      </Command.SmallImages>
    </Command>

    <Command Name="cmdCheck" Id="1110" Keytip="K" LabelTitle="完成&#xA;" TooltipTitle="完成(Space)"
             TooltipDescription="切换完成状态">
      <Command.LargeImages>
        <Image>
          res/ribbon/check_32.bmp
        </Image>
      </Command.LargeImages>
      <Command.SmallImages>
        <Image>
          res/ribbon/check_16.bmp
        </Image>
      </Command.SmallImages>
    </Command>
    
    <!--cmd edit-->
    <Command Name="cmdAddBefore" Id="1120" Keytip="B" LabelTitle="添加&#xA;" TooltipTitle="添加(Ins)"
             TooltipDescription="在当前项前添加">
      <Command.LargeImages>
        <Image>
          res/ribbon/add_32.bmp
        </Image>
      </Command.LargeImages>
      <Command.SmallImages>
        <Image>
          res/ribbon/add_16.bmp
        </Image>
      </Command.SmallImages>
    </Command>
    <Command Name="cmdAddAfter" Id="1121" Keytip="A" LabelTitle="添加在后&#xA;" TooltipTitle="Add after(Shift+Ins)"
             TooltipDescription="在当前项后添加">
      <Command.SmallImages>
        <Image>
          res/ribbon/add_after_16.bmp
        </Image>
      </Command.SmallImages>
    </Command>
    <Command Name="cmdAddChild" Id="1122" Keytip="C" LabelTitle="添加为子项" TooltipTitle="Add as child(Alt+Ins)"
             TooltipDescription="添加为子项">
      <Command.SmallImages>
        <Image>
          res/ribbon/add_child_16.bmp
        </Image>
      </Command.SmallImages>
    </Command>
    <Command Name="cmdAddSplit" Id="1123" Keytip="D" LabelTitle="添加&#xA;" />
    <Command Name="cmdEdit" Id="1130" Keytip="E" LabelTitle="编辑&#xA;" TooltipTitle="Edit(F2)"
             TooltipDescription="编辑当前待办内容">
      <Command.LargeImages>
        <Image>
          res/ribbon/edit_32.bmp
        </Image>
      </Command.LargeImages>
      <Command.SmallImages>
        <Image>
          res/ribbon/edit_16.bmp
        </Image>
      </Command.SmallImages>
    </Command>

    <!--cmd style-->
    <Command Name="cmdBold" Id="1140" Keytip="B" LabelTitle="粗体" 
             TooltipTitle="粗体(Ctrl+B)">
      <Command.SmallImages>
        <Image>
          res/ribbon/bold_16.bmp
        </Image>
      </Command.SmallImages>
    </Command>
    <Command Name="cmdItalic" Id="1150" Keytip="I" LabelTitle="斜体" TooltipTitle="斜体(Ctrl+I)"
             TooltipDescription="使用斜体显示">
      <Command.SmallImages>
        <Image>
          res/ribbon/italic_16.bmp
        </Image>
      </Command.SmallImages>
    </Command>
    <Command Name="cmdUnderline" Id="1160" Keytip="U" LabelTitle="下划线" TooltipTitle="下划线(Ctrl+U)"
             TooltipDescription="显示下划线">
      <Command.SmallImages>
        <Image>
          res/ribbon/underline_16.bmp
        </Image>
      </Command.SmallImages>
    </Command>
    <Command Name="cmdColor" Id="1170" Keytip="R" LabelTitle="颜色&#xA;" TooltipTitle="颜色">
      <Command.LargeImages>
        <Image>
          res/ribbon/color_32.bmp
        </Image>
      </Command.LargeImages>
      <Command.SmallImages>
        <Image>
          res/ribbon/color_16.bmp
        </Image>
      </Command.SmallImages>
    </Command>
    
    <!--cmd file-->
    <Command Name="cmdNew" Id="1180" LabelTitle="新建&#xA;(&amp;N)" TooltipTitle="新建(Ctrl+N)"
             TooltipDescription="创建新的待办列表.">
      <Command.LargeImages>
        <Image>
          res/ribbon/new_32.bmp
        </Image>
      </Command.LargeImages>
      <Command.SmallImages>
        <Image>
          res/ribbon/new_16.bmp
        </Image>
      </Command.SmallImages>
    </Command>

    <Command Name="cmdOpen" Id="1190" LabelTitle="打开&#xA;(&amp;O)" TooltipTitle="打开(Ctrl+O)"
             TooltipDescription="打开已有的待办列表.">
      <Command.LargeImages>
        <Image>
          res/ribbon/open_32.bmp
        </Image>
      </Command.LargeImages>
      <Command.SmallImages>
        <Image>
          res/ribbon/open_16.bmp
        </Image>
      </Command.SmallImages>
    </Command>

    <Command Name="cmdSave" Id="1200" LabelTitle="保存&#xA;(&amp;S)" TooltipTitle="保存(Ctrl+S)"
             TooltipDescription="保存活动列表.">
      <Command.LargeImages>
        <Image>
          res/ribbon/save_32.bmp
        </Image>
      </Command.LargeImages>
      <Command.SmallImages>
        <Image>
          res/ribbon/save_16.bmp
        </Image>
      </Command.SmallImages>
    </Command>

    <Command Name="cmdSaveAs" Id="1210" LabelTitle="另存为&#xA;(&amp;A)" TooltipTitle="另存为"
             TooltipDescription="用新名保存活动列表.">
      <Command.LargeImages>
        <Image>
          res/ribbon/save_as_32.bmp
        </Image>
      </Command.LargeImages>
      <Command.SmallImages>
        <Image>
          res/ribbon/save_as_16.bmp
        </Image>
      </Command.SmallImages>
    </Command>

    <Command Name="cmdProperties" Id="1220" LabelTitle="属性&#xA;(&amp;E)" TooltipTitle="属性(Ctrl+E)"
             TooltipDescription="改变待办列表属性.">
      <Command.LargeImages>
        <Image>
          res/ribbon/properties_32.bmp
        </Image>
      </Command.LargeImages>
      <Command.SmallImages>
        <Image>
          res/ribbon/properties_16.bmp
        </Image>
      </Command.SmallImages>
    </Command>

    <Command Name="cmdAbout" Id="1230" Keytip="A" LabelTitle="关于Todo.EXE(&amp;T)">
      <Command.LargeImages>
        <Image>
          res/ribbon/about_32.bmp
        </Image>
      </Command.LargeImages>
      <Command.SmallImages>
        <Image>
          res/ribbon/about_16.bmp
        </Image>
      </Command.SmallImages>
    </Command>

    <Command Name="cmdDelete" Id="1240" Keytip="D" LabelTitle="删除&#xA;(&amp;D)" TooltipTitle="删除(del)"
             TooltipDescription="删除所选内容">
      <Command.LargeImages>
        <Image>
          res/ribbon/delete_32.bmp
        </Image>
      </Command.LargeImages>
      <Command.SmallImages>
        <Image>
          res/ribbon/delete_16.bmp
        </Image>
      </Command.SmallImages>
    </Command>

    <!--cmd priority-->
    <Command Name='cmdPriority' Id='1300' Keytip="P" LabelTitle='优先级&#xA;' TooltipTitle="优先级"
             TooltipDescription="为选中的待办项指定优先级.">
      <Command.LargeImages>
        <Image>
          res/ribbon/priority_32.bmp
        </Image>
      </Command.LargeImages>
      <Command.SmallImages>
        <Image>
          res/ribbon/priority_16.bmp
        </Image>
      </Command.SmallImages>
    </Command>

    <Command Name="cmdPriority0" Id="1310" LabelTitle="无"></Command>

    <Command Name="cmdPriority1" Id="1311" LabelTitle="最高">
      <Command.SmallImages>
        <Image>
          res/ribbon/priority1_16.bmp
        </Image>
      </Command.SmallImages>
    </Command>
    <Command Name="cmdPriority2" Id="1312" LabelTitle="高">
      <Command.SmallImages>
        <Image>
          res/ribbon/priority2_16.bmp
        </Image>
      </Command.SmallImages>
    </Command>
    <Command Name="cmdPriority3" Id="1313" LabelTitle="普通">
      <Command.SmallImages>
        <Image>
          res/ribbon/priority3_16.bmp
        </Image>
      </Command.SmallImages>
    </Command>
    <Command Name="cmdPriority4" Id="1314" LabelTitle="低">
      <Command.SmallImages>
        <Image>
          res/ribbon/priority4_16.bmp
        </Image>
      </Command.SmallImages>
    </Command>
    <Command Name="cmdPriority5" Id="1315" LabelTitle="最低">
      <Command.SmallImages>
        <Image>
          res/ribbon/priority5_16.bmp
        </Image>
      </Command.SmallImages>
    </Command>



    <!--cmd view-->
    <Command Name="cmdClassicUI" Id="2000" Keytip="C" LabelTitle="传统外观" TooltipTitle="传统外观"
             TooltipDescription="切换应用程序到传统外观.">
      <Command.LargeImages>
        <Image>
          res/ribbon/classic_ui_32.bmp
        </Image>
      </Command.LargeImages>
      <Command.SmallImages>
        <Image>
          res/ribbon/classic_ui_16.bmp
        </Image>
      </Command.SmallImages>
    </Command>

    <Command Name="cmdThemeGallery" Id="2005" Keytip="M" LabelTitle="主题&#xA;" TooltipTitle="主题"
             TooltipDescription="改变外观主题.">
      <Command.LargeImages>
        <Image>
          res/ribbon/theme_32.bmp
        </Image>
      </Command.LargeImages>
      <Command.SmallImages>
        <Image>
          res/ribbon/theme_16.bmp
        </Image>
      </Command.SmallImages>
    </Command>

    <Command Name="cmdShowProgress" Id="2010" Keytip="P" LabelTitle="进度&#xA;" TooltipTitle="进度列"
             TooltipDescription="显示或隐藏进度列">
      <Command.LargeImages>
        <Image>
          res/ribbon/progress_32.bmp
        </Image>
      </Command.LargeImages>
    </Command>

    <Command Name="cmdShowDue" Id="2011" Keytip="D" LabelTitle="期限&#xA;" TooltipTitle="期限列"
             TooltipDescription="显示或隐藏期限列">
      <Command.LargeImages>
        <Image>
          res/ribbon/due_32.bmp
        </Image>
      </Command.LargeImages>
      <Command.SmallImages>
        <Image>
          res/ribbon/due_16.bmp
        </Image>
      </Command.SmallImages>
    </Command>

    <Command Name="cmdShowDoneItems" Id="2015" Keytip="M" LabelTitle="完成项&#xA;" TooltipTitle="完成项"
             TooltipDescription="显示或隐藏已完成的待办项">
      <Command.LargeImages>
        <Image>
          res/ribbon/done_items_32.bmp
        </Image>
      </Command.LargeImages>
      <Command.SmallImages>
        <Image>
          res/ribbon/done_items_16.bmp
        </Image>
      </Command.SmallImages>
    </Command>

    <Command Name="cmdZoomIn" Id="2020" Keytip="I" LabelTitle="放大&#xA;" TooltipTitle="放大(Ctrl +)"
             TooltipDescription="放大视图.">
      <Command.LargeImages>
        <Image>
          res/ribbon/zoom_in_32.bmp
        </Image>
      </Command.LargeImages>
      <Command.SmallImages>
        <Image>
          res/ribbon/zoom_in_16.bmp
        </Image>
      </Command.SmallImages>
    </Command>

    <Command Name="cmdZoomOut" Id="2030" Keytip="O" LabelTitle="缩小&#xA;" TooltipTitle="缩小(Ctrl -)"
             TooltipDescription="缩小视图.">
      <Command.LargeImages>
        <Image>
          res/ribbon/zoom_out_32.bmp
        </Image>
      </Command.LargeImages>
      <Command.SmallImages>
        <Image>
          res/ribbon/zoom_out_16.bmp
        </Image>
      </Command.SmallImages>
    </Command>

    <Command Name="cmdZoomReset" Id="2040" Keytip="R" LabelTitle="重置大小" TooltipTitle="100%(Ctrl+0)"
             TooltipDescription="重置缩放比例.">
      <Command.LargeImages>
        <Image>
          res/ribbon/zoom_reset_32.bmp
        </Image>
      </Command.LargeImages>
      <Command.SmallImages>
        <Image>
          res/ribbon/zoom_reset_16.bmp
        </Image>
      </Command.SmallImages>
    </Command>

    <!--cmd tree-->
    <Command Name="cmdExpandAll" Id="2050" Keytip="X" LabelTitle="全部展开" TooltipTitle="全部展开(Alt+→)"
             TooltipDescription="展开所有子待办项.">
      <Command.LargeImages>
        <Image>
          res/ribbon/expand_32.bmp
        </Image>
      </Command.LargeImages>
      <Command.SmallImages>
        <Image>
          res/ribbon/expand_16.bmp
        </Image>
      </Command.SmallImages>
    </Command>

    <Command Name="cmdCollapseAll" Id="2060" Keytip="E" LabelTitle="全部收起" TooltipTitle="全部收起(Alt+←)"
             TooltipDescription="收起所有子待办项">
      <Command.LargeImages>
        <Image>
          res/ribbon/collapse_32.bmp
        </Image>
      </Command.LargeImages>
      <Command.SmallImages>
        <Image>
          res/ribbon/collapse_16.bmp
        </Image>
      </Command.SmallImages>
    </Command>

    <Command Name="cmdShowGridLine" Id="2070" Keytip="G" LabelTitle="表格线&#xA;" TooltipTitle="表格线"
             TooltipDescription="显示行列之间的表格线.">
      <Command.LargeImages>
        <Image>
          res/ribbon/grid_line_32.bmp
        </Image>
      </Command.LargeImages>
      <Command.SmallImages>
        <Image>
          res/ribbon/grid_line_16.bmp
        </Image>
      </Command.SmallImages>
    </Command>
    <Command Name="cmdShowTreeLine" Id="2080" Keytip="T" LabelTitle="树形线&#xA;" TooltipTitle="树形线"
             TooltipDescription="显示父子项之间的树形线"></Command>
    <Command Name="cmdShowHeader" Id="2090" Keytip="H" LabelTitle="表头&#xA;" TooltipTitle="表头"></Command>


    <!--cmd tools-->
    <Command Name="cmdOptions" Id="3000" Keytip="N" LabelTitle="选项&#xA;" TooltipTitle="选项">
      <Command.LargeImages>
        <Image>
          res/ribbon/preferences_32.bmp
        </Image>
      </Command.LargeImages>
      <Command.SmallImages>
        <Image>
          res/ribbon/preferences_16.bmp
        </Image>
      </Command.SmallImages>
    </Command>
    <Command Name="cmdExport" Id="3010" Keytip="X" LabelTitle="导出&#xA;" TooltipTitle="导出"
             TooltipDescription="导出为其它文件格式">
      <Command.LargeImages>
        <Image>
          res/ribbon/export_32.bmp
        </Image>
      </Command.LargeImages>
      <Command.SmallImages>
        <Image>
          res/ribbon/export_16.bmp
        </Image>
      </Command.SmallImages>
    </Command>

    <Command Name="cmdArchive" Id="3020" Keytip="V" LabelTitle="归档&#xA;" TooltipTitle="归档"
             TooltipDescription="把已完成项保存为单独的列表文件">
      <Command.LargeImages>
        <Image>
          res/ribbon/archive_32.bmp
        </Image>
      </Command.LargeImages>
      <Command.SmallImages>
        <Image>
          res/ribbon/archive_16.bmp
        </Image>
      </Command.SmallImages>
    </Command>

    <Command Name="cmdScheduler" Id="3030" Keytip="V" LabelTitle="调度器&#xA;" TooltipTitle="调度器"
             TooltipDescription="呼出调度器">
      <Command.LargeImages>
        <Image>
          res/ribbon/scheduler_32.bmp
        </Image>
      </Command.LargeImages>
      <Command.SmallImages>
        <Image>
          res/ribbon/scheduler_16.bmp
        </Image>
      </Command.SmallImages>
    </Command>

    <Command Name="cmdDebug" Id="3090" Keytip="D" LabelTitle="调试&#xA;">
      <Command.LargeImages>
        <Image>
          res/ribbon/debug_32.bmp
        </Image>
      </Command.LargeImages>
    </Command>

    <Command Name="cmdGtasks" Id="3100" Keytip="G" LabelTitle="Google 任务">
      <Command.LargeImages>
        <Image>
          res/ribbon/gtasks_32.bmp
        </Image>
      </Command.LargeImages>
    </Command>

    <!--xxx-->

    <Command Name="cmdSetReminder" Id="4010" Keytip="R" LabelTitle="设置提醒..."></Command>

    <Command Name="cmdPrintSplit" Id="4020" LabelTitle="打印(&amp;P)">
      <Command.LargeImages>
        <Image>
          res/ribbon/print_32.bmp
        </Image>
      </Command.LargeImages>
      <Command.SmallImages>
        <Image>
          res/ribbon/print_16.bmp
        </Image>
      </Command.SmallImages>
    </Command>
    <Command Name="cmdPrintMenu" Id="4021" LabelTitle="打印" />
    <Command Name="cmdPrint" Id="4030" LabelTitle="打印(&amp;P)" 
             LabelDescription="选择打印机、份数，以及其它相关的打印选项."
             TooltipTitle="打印(Ctrl+P)" TooltipDescription="打印当前待办列表.">
      <Command.LargeImages>
        <Image>
          res/ribbon/print_32.bmp
        </Image>
      </Command.LargeImages>
      <Command.SmallImages>
        <Image>
          res/ribbon/print_16.bmp
        </Image>
      </Command.SmallImages>
    </Command>
    <Command Name="cmdPrintSetup" Id="4040" LabelTitle="页面设置(&amp;S)"
             LabelDescription="修改页面布局.">
      <Command.LargeImages>
        <Image>
          res/ribbon/print_setup_32.bmp
        </Image>
      </Command.LargeImages>
      <Command.SmallImages>
        <Image>
          res/ribbon/print_setup_16.bmp
        </Image>
      </Command.SmallImages>
    </Command>
    <Command Name="cmdPrintPreview" Id="4050" LabelTitle="打印预览(&amp;V)" 
             LabelDescription="在打印前预览和修改.">
      <Command.LargeImages>
        <Image>
          res/ribbon/print_preview_32.bmp
        </Image>
      </Command.LargeImages>
      <Command.SmallImages>
        <Image>
          res/ribbon/print_preview_16.bmp
        </Image>
      </Command.SmallImages>
    </Command>


  </Application.Commands>

  <Application.Views>
    <Ribbon>
      <Ribbon.ApplicationMenu>
        <ApplicationMenu CommandName="mnuApp">
          <ApplicationMenu.RecentItems>
            <RecentItems CommandName="cmdRecentItems" EnablePinning="true" MaxCount="9" />
          </ApplicationMenu.RecentItems>
          <MenuGroup>
            <Button CommandName="cmdNew" />
            <Button CommandName="cmdOpen" />
            <Button CommandName="cmdSave" />
            <Button CommandName="cmdSaveAs" />
          </MenuGroup>
          <MenuGroup>
            <SplitButton CommandName="cmdPrintSplit">
              <SplitButton.ButtonItem>
                <Button CommandName="cmdPrint" />
              </SplitButton.ButtonItem>
              <SplitButton.MenuGroups>
                <MenuGroup CommandName="cmdPrintMenu" Class="MajorItems">
                  <Button CommandName="cmdPrint" />
                  <Button CommandName="cmdPrintSetup" />
                  <Button CommandName="cmdPrintPreview" />
                </MenuGroup>
              </SplitButton.MenuGroups>
            </SplitButton>
          </MenuGroup>
          <MenuGroup>
            <Button CommandName="cmdProperties" />
          </MenuGroup>
          <MenuGroup>
            <Button CommandName="cmdAbout" />
            <Button CommandName="cmdExit" />
          </MenuGroup>
        </ApplicationMenu>
      </Ribbon.ApplicationMenu>

      <Ribbon.HelpButton>
        <HelpButton CommandName="cmdHelp" />
      </Ribbon.HelpButton>
      
      <!--qat-->
      <Ribbon.QuickAccessToolbar>
        <QuickAccessToolbar CommandName='qat' CustomizeCommandName='qatCustomize'>
          <QuickAccessToolbar.ApplicationDefaults>
            <Button CommandName="cmdSave" ApplicationDefaults.IsChecked="true" />
            <Button CommandName="cmdUndo" ApplicationDefaults.IsChecked="true" />
            <Button CommandName="cmdRedo" ApplicationDefaults.IsChecked="true" />
            <Button CommandName="cmdDelete" ApplicationDefaults.IsChecked="false" />
          </QuickAccessToolbar.ApplicationDefaults>
        </QuickAccessToolbar>
      </Ribbon.QuickAccessToolbar>

      <!--tabs-->
      <Ribbon.Tabs>
        <Tab CommandName="tabHome">

          <Tab.ScalingPolicy>
            <ScalingPolicy>
              <ScalingPolicy.IdealSizes>
                <Scale Group="grpClipboard" Size="Medium" />
                <Scale Group="grpState" Size="Large" />
                <Scale Group="grpStyle" Size="Medium" />
                <Scale Group="grpTag" Size="Medium" />
              </ScalingPolicy.IdealSizes>
              <Scale Group="grpClipboard" Size="Small" />
              <Scale Group="grpState" Size="Medium" />
            </ScalingPolicy>
          </Tab.ScalingPolicy>

          <Group CommandName="grpClipboard" SizeDefinition="ThreeButtons-OneBigAndTwoSmall">
            <SplitButton CommandName="cmdPasteSplit">
              <SplitButton.ButtonItem>
                <Button CommandName="cmdPaste" />
              </SplitButton.ButtonItem>
              <Button CommandName="cmdPaste" />
              <Button CommandName="cmdPasteAfter" />
              <Button CommandName="cmdPasteChild" />
            </SplitButton>
            <Button CommandName="cmdCut" />
            <Button CommandName="cmdCopy" />
          </Group>

          <Group CommandName="grpEdit" SizeDefinition="TwoButtons">
            <SplitButton CommandName="cmdAddSplit">
              <!--              <SplitButton.ButtonItem>-->
              <!--                <Button CommandName="cmdAdd" />-->
              <!--              </SplitButton.ButtonItem>-->
              <Button CommandName="cmdAddBefore" />
              <Button CommandName="cmdAddAfter" />
              <Button CommandName="cmdAddChild" />
            </SplitButton>
            <!--            <Button CommandName="cmdAdd" />-->
            <ToggleButton CommandName="cmdEdit" />
          </Group>

          <Group CommandName="grpState" SizeDefinition="TwoButtons">
            <ToggleButton CommandName="cmdActive" />
            <ToggleButton CommandName="cmdCheck" />
          </Group>

          <Group CommandName="grpStyle" SizeDefinition="FourButtons">
            <DropDownColorPicker CommandName="cmdColor" RecentColorGridRows="1" ThemeColorGridRows="4"
                                 StandardColorGridRows="2" IsAutomaticColorButtonVisible="true" />
            <ToggleButton CommandName="cmdBold" />
            <ToggleButton CommandName="cmdItalic" />
            <ToggleButton CommandName="cmdUnderline" />
          </Group>

          <Group CommandName="grpTag" SizeDefinition="OneInRibbonGallery">
            <InRibbonGallery CommandName="cmdTagGallery" MaxColumns="1" MaxColumnsMedium="1" MaxRows="3"
                             TextPosition="Right" Type="Items">
              <InRibbonGallery.MenuLayout>
                <VerticalMenuLayout Rows="15" Gripper="Vertical" />
              </InRibbonGallery.MenuLayout>
            </InRibbonGallery>
          </Group>

          <Group CommandName="grpPriority" SizeDefinition="OneButton">
            <DropDownGallery CommandName="cmdPriority" HasLargeItems="false" TextPosition="Right" Type="Commands">
              <DropDownGallery.MenuLayout>
                <FlowMenuLayout Columns="1" Rows="6" Gripper="None" />
              </DropDownGallery.MenuLayout>
              <DropDownGallery.MenuGroups>
                <MenuGroup>
                  <ToggleButton CommandName="cmdPriority0" />
                </MenuGroup>
                <MenuGroup>
                  <ToggleButton CommandName="cmdPriority1" />
                  <ToggleButton CommandName="cmdPriority2" />
                  <ToggleButton CommandName="cmdPriority3" />
                  <ToggleButton CommandName="cmdPriority4" />
                  <ToggleButton CommandName="cmdPriority5" />
                </MenuGroup>
              </DropDownGallery.MenuGroups>
            </DropDownGallery>
          </Group>

          <Group CommandName="grpApplication" SizeDefinition="OneButton">
            <Button CommandName="cmdExit" />
          </Group>
        </Tab>

        <Tab CommandName="tabView">
          <Tab.ScalingPolicy>
            <ScalingPolicy>
              <ScalingPolicy.IdealSizes>
                <!--                <Scale Group="grpTree" Size="Medium" />-->
              </ScalingPolicy.IdealSizes>
            </ScalingPolicy>
          </Tab.ScalingPolicy>

          <Group CommandName="grpZoom" SizeDefinition="ThreeButtons">
            <Button CommandName="cmdZoomIn" />
            <Button CommandName="cmdZoomOut" />
            <Button CommandName="cmdZoomReset" />
          </Group>
          <Group CommandName="grpView" SizeDefinition="TwoButtons">
            <Button CommandName="cmdClassicUI" />
            <DropDownGallery CommandName="cmdThemeGallery" TextPosition="Right" Type="Items" ItemWidth="71"
                             ItemHeight="61" />
          </Group>
          <Group CommandName="grpShowHide" SizeDefinition="ThreeButtons">
            <ToggleButton CommandName="cmdShowProgress" />
            <ToggleButton CommandName="cmdShowDue" />
            <ToggleButton CommandName="cmdShowDoneItems" />
          </Group>
          <Group CommandName="grpTree" SizeDefinition="TwoButtons">
            <Button CommandName="cmdCollapseAll" />
            <Button CommandName="cmdExpandAll" />
          </Group>
          <Group CommandName="grpGrid">
            <SizeDefinition>
              <ControlNameMap>
                <ControlNameDefinition Name="chk1" />
                <ControlNameDefinition Name="chk2" />
                <ControlNameDefinition Name="chk3" />
              </ControlNameMap>
              <GroupSizeDefinition>
                <Row>
                  <ControlSizeDefinition ControlName="chk1" IsImageVisible="false" />
                </Row>
                <Row>
                  <ControlSizeDefinition ControlName="chk2" IsImageVisible="false" />
                </Row>
                <Row>
                  <ControlSizeDefinition ControlName="chk3" IsImageVisible="false" />
                </Row>
              </GroupSizeDefinition>
            </SizeDefinition>
            <CheckBox CommandName="cmdShowHeader" />
            <CheckBox CommandName="cmdShowGridLine" />
            <CheckBox CommandName="cmdShowTreeLine" />
          </Group>

        </Tab>

        <Tab CommandName="tabTools">
          <Group CommandName="grpOptions" SizeDefinition="OneButton">
            <Button CommandName="cmdOptions" />
          </Group>
          <Group CommandName="grpTodoListTools" SizeDefinition="TwoButtons">
            <Button CommandName="cmdArchive" />
            <Button CommandName="cmdExport" />
          </Group>
          <Group CommandName="grpTools" SizeDefinition="OneButton">
            <Button CommandName="cmdScheduler" />
          </Group>
          <Group CommandName="grpDebug" SizeDefinition="OneButton" ApplicationModes="1">
            <Button CommandName="cmdDebug" />
          </Group>
          <Group CommandName="grpGtasks" SizeDefinition="OneButton" ApplicationModes="2">
            <Button CommandName="cmdGtasks" />
          </Group>
        </Tab>
      </Ribbon.Tabs>
    </Ribbon>
    <ContextPopup>
      <ContextPopup.ContextMenus>
        <ContextMenu Name="ContextMenu">
          <MenuGroup>
            <ToggleButton CommandName="cmdActive" />
          </MenuGroup>
          <MenuGroup>
            <DropDownGallery CommandName="cmdPriority" HasLargeItems="false" TextPosition="Right" Type="Commands">
              <DropDownGallery.MenuLayout>
                <FlowMenuLayout Columns="1" Rows="6" Gripper="None" />
              </DropDownGallery.MenuLayout>
              <DropDownGallery.MenuGroups>
                <MenuGroup>
                  <ToggleButton CommandName="cmdPriority0" />
                </MenuGroup>
                <MenuGroup>
                  <ToggleButton CommandName="cmdPriority1" />
                  <ToggleButton CommandName="cmdPriority2" />
                  <ToggleButton CommandName="cmdPriority3" />
                  <ToggleButton CommandName="cmdPriority4" />
                  <ToggleButton CommandName="cmdPriority5" />
                </MenuGroup>
              </DropDownGallery.MenuGroups>
            </DropDownGallery>
            <DropDownColorPicker CommandName="cmdColor" RecentColorGridRows="1" ThemeColorGridRows="4"
                                 StandardColorGridRows="2" IsAutomaticColorButtonVisible="true" />
            <DropDownGallery CommandName="cmdTagGallery" TextPosition="Right" Type="Items">
              <DropDownGallery.MenuLayout>
                <VerticalMenuLayout Rows="15" Gripper="Vertical" />
              </DropDownGallery.MenuLayout>
            </DropDownGallery>
          </MenuGroup>
          <MenuGroup>
            <Button CommandName="cmdSetReminder" />
          </MenuGroup>
        </ContextMenu>
      </ContextPopup.ContextMenus>
      <ContextPopup.ContextMaps>
        <ContextMap CommandName="cmdContextMenu" ContextMenu="ContextMenu" />
      </ContextPopup.ContextMaps>
    </ContextPopup>
  </Application.Views>

</Application>